<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/base.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	
	<link rel="stylesheet" href="../css/bootstrap.min.css">
	<link rel="stylesheet" href="../css/bootstrap-responsive.css">
	<link rel="stylesheet" href="../css/docs.css">
	<style type="text/css" >
		body{
			background:url(../img/2.jpg) center center fixed;
			font-family: Trebuchet MS,Liberation Sans,DejaVu Sans,sans-serif;

		}
		.mya{
			display:block;
			height:25px;
			width:210px;
			padding:2px;
			padding-left: 35px;
			line-height: 25px;
			border-bottom: 1px dotted #000;
			margin-top:0px;
		}

		.mya:hover{
			background-color: #0080C0;
			color:#fff;
			text-decoration: none;

		}
		.row-fluid ul{
			margin-bottom: 0px;

		}
		.bg{
			background-color:#53120C;
		}
	</style>
	
	
</head>
<body>
	
		<%@ include file="include/top.jsp" %>		
			
			



<!--下面的东西-->
			<div class="container" style="margin-top:5px;">
			  <div class="row-fluid">
			   
			   
			   <%@ include file="include/left.jsp" %>



			    <div class="span9" style="float:right;margin-right:20px;border-radius: 10px;background-color:#fff;">
			      
				      
				        
				        	<div class="header">
					           
					          	<h1 class="page-title" style="margin-left:10px;margin-top:10px;margin-bottom:5px;">Home</h1>
					        </div>

					        <hr style="margin:0px;margin-bottom:3px;"/>
					        <ul class="breadcrumb">
					        	<li><a href="index.html">Home</a> <span class="divider">/</span></li>
					             <li>商品管理<span class="divider">/</span></li>
					            <li class="active">添加商品</li>
					        </ul>
					        <hr style="margin:0px;margin-bottom:3px;margin-top:3px;"/>
					        <div class="container-fluid">
					            <div class="row-fluid">
					                    


					            	
						        	<div>
						        		<form class="form-horizontal" id="dropdowns" action="addproduct.jspx" method="post" enctype="multipart/from_data">
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>书籍名称</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="书籍名称" name="bookname">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>出版社</label>
										    <div class="controls">
										      <select name="publishid">
										      
												  <option>请选择出版社</option>
												  <c:forEach items="${publishlist }" var="s">
												  	<option value="${s.id }" >${s.publishname }</option>
												  </c:forEach>
												  
												  
												</select>
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>作者</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="作者" name="author">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail">原价</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="原价" name="price">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>商城价</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="商城价" name="salesprice">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>商品类别</label>
										    <div class="controls">
										       <select name="typeid">
										      
												  <option>请选择类别</option>
												  <c:forEach items="${typelist }" var="s">
												  	<option value="${s.id }" >${s.typename }</option>
												  </c:forEach>
												  
												  
												</select>
										    </div>
										  </div>
										  
										  <div class="control-group">
										    <label class="control-label" for="inputEmail">页数</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="页数" name="pagenum">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>入库数量</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="入库数量" name="booknum">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail"><span style="color:red;">*</span>报警数量</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="入库数量" name="dangebooknum">
										    </div>
										  </div>
										  <div class="control-group">
										    <label class="control-label" for="inputEmail">出版时间</label>
										    <div class="controls">
										      <input type="text" id="inputEmail" placeholder="出版时间" name="publishtime">
										    </div>
										  </div>
										  
										   <div class="control-group">
										    <label class="control-label" for="inputEmail">内容简介</label>
										    <div class="controls">
										      	
												<textarea rows="4" cols="10" style="width:600px;" name="content">
													
												</textarea>
										    </div>
										  </div>
										  
										  <div class="control-group">
										    <label class="control-label" for="inputEmail">作者简介</label>
											    <div class="controls">
											      	
													<textarea rows="4" cols="10" style="width:600px;" name="authorcontent">
														
													</textarea>
											    </div>
										  </div>
										  
										  <div class="control-group">
										    <label class="control-label" for="inputEmail">前言</label>
										    <div class="controls">
										      	
												<textarea rows="4" cols="10" style="width:600px;" name="preface">
													
												</textarea>
										    </div>
										  </div>
										  
										  <div class="control-group">
										    <label class="control-label" for="inputEmail">请选择封面</label>
										    <div class="controls">
										      	
												<input type="file" name="filename"/>
										    </div>
										  </div>
										  
										 

									  
										  <div class="control-group">
										    <div class="controls">
										      <button type="submit" class="btn btn-primary">提交</button>
										    </div>
										  </div>
										</form>
						        	</div>
				    			



						                    
						       <footer>
						          <hr>
						          <font>© 2012-2013 <i class="icon-hand-right"></i> 夼趸蒋</font>
						      </footer>
					                    
					            </div>
					        </div>
					    </div>

				     
			    </div>
			  </div>
			</div>

			</div>

			




	<script src="../js/jquery.js" type="text/javascript" ></script>
   	<script src="../js/bootstrap.min.js" type="text/javascript" ></script>
   	<script type="text/javascript">
   		
   		$(document).ready(function(){
   			$(".collapse").collapse();
   			
   		});
   	</script>
</body>
</html>